import entity
import resources

class Note(entity.StaticSprite):
    def __init__(self, mode, start_configurations, img_name, anchor):

        # Import image
        self.image = resources.image(img_name, anchor, antialiasing = True)
        
        # So that the player knows when he can exit
        ((x, y), rot) = start_configurations

        super(Note, self).__init__(
            mode, self.image, anchor=anchor,
            x=x, y=y, rot=rot,
            e_type="note")

        self.fixture.sensor = True
    
    def hide(self):
        pass
